package com.study.business.article.mapper;

import com.study.business.article.domain.Article;

import java.util.List;

/**
 * @author zhang
 */
public interface ArticleMapper {
    /**
     * 添加文章
     *
     * @param article
     * @return
     */
    Integer add(Article article);


    /**
     * 查询所有文章
     *
     * @return
     */
    List<Article> findAll();
}
